<template>
  <div>
    <el-alert
        title="成功提示的文案"
        type="success">
    </el-alert>z
    <el-form ref="form" label-width="80px">
      <el-form-item label="商品编号">
        <el-input v-model="product.product_no"></el-input>
      </el-form-item>
      <el-form-item label="商品名称">
        <el-input v-model="product.product_name"></el-input>
      </el-form-item>
      <el-form-item label="商品价格">
        <el-input v-model="product.product_price"></el-input>
      </el-form-item>
      <el-form-item label="商品数量">
        <el-input v-model="product.product_num"></el-input>
      </el-form-item>
      <el-form-item label="商品类型">
        <el-input v-model="product.product_type"></el-input>
      </el-form-item>
      <el-form-item label="商品描述">
        <el-input v-model="product.product_desc"></el-input>
      </el-form-item>
      <el-form-item label="运输方式">
        <el-input v-model="product.product_trans_desc"></el-input>
      </el-form-item>
      <el-form-item label="是否支持退货">
        <el-input type="textarea" v-model="product.product_can_back"></el-input>
      </el-form-item>
      <el-form-item label="提醒">
        <el-input type="textarea" v-model="product.product_danger_desc"></el-input>
      </el-form-item>
      <el-form-item>
        <el-button type="primary" @click="onSubmit">立即创建</el-button>
        <el-button>取消</el-button>
      </el-form-item>
    </el-form>
  </div>
</template>

<script>
export default {
  name:"product_info",
  data() {
    return {
      props: ["product"],
      product:''
    }
  },
  methods: {
    onSubmit() {
      console.log('submit!');
    }
  }
}
</script>

<style scoped>

</style>
